//
//  JLSButtomTabBar.h
//  看点
//
//  Created by 焦林生 on 15/12/15.
//  Copyright © 2015年 jiaolinsheng. All rights reserved.
//

#import <UIKit/UIKit.h>
@class JLSButtomTabBar;

//设置协议 - 将自定义内部被点击的按钮索引传给tabBarController.进行切换控制器
@protocol JLSButtomTabBarDelegate <NSObject>

@optional
//定义协议方法
- (void)buttomTabBar:(JLSButtomTabBar *)tabBar didClickButtomTabBarWithIndex:(int)index;

@end

@interface JLSButtomTabBar : UIView

//传入两张图片
- (void)addButtomTabBarBtnWithImage:(NSString *)norImage selected:(NSString *)selected title:(NSString *)title;

//设置代理属性
@property (nonatomic, weak) id<JLSButtomTabBarDelegate>delegate;
@end
